home *** CD-ROM | disk | FTP | other *** search
-
- Shader()
- {
- Pass()
- {
- Pixelshader("clouds.psh")
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image("CloudsBorder.dds")
- }
- }
-
- !include("__Clouds.mtt")
-
- BlendFunc("src_alpha", "inv_src_alpha")
- depthfunc("lequal", 0)
- NoFog()
-
- }
- sortweight("preopaque")
- Cull("cw")
- }
-
-
- Shader()
- {
- Pass()
- {
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image("CloudsBorder.dds")
- }
- ColorOp("arg1", "tfactor", "current", "current")
- AlphaOp("arg1", "texture", "current", "current")
- }
-
- !include("__Clouds.mtt")
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, 1)
-
- BlendFunc("src_alpha", "inv_src_alpha")
- depthfunc("lequal", 0)
- NoFog()
-
- }
- sortweight("preopaque")
- Cull("cw")
- }
-
-
-
-